package com.ktgj.flight.mapper;

import java.util.List;
import com.ktgj.flight.domain.FinanceConsignPymtRecord;

/**
 * 财务机票代收款记录Mapper接口
 * 
 * @author ruoyi
 * @date 2022-06-13
 */
public interface FinanceConsignPymtRecordMapper 
{
    /**
     * 查询财务机票代收款记录
     * 
     * @param consignPymtRecordId 财务机票代收款记录ID
     * @return 财务机票代收款记录
     */
    public FinanceConsignPymtRecord selectFinanceConsignPymtRecordById(Long consignPymtRecordId);

    /**
     * 查询财务机票代收款记录列表
     * 
     * @param financeConsignPymtRecord 财务机票代收款记录
     * @return 财务机票代收款记录集合
     */
    public List<FinanceConsignPymtRecord> selectFinanceConsignPymtRecordList(FinanceConsignPymtRecord financeConsignPymtRecord);

    /**
     * 新增财务机票代收款记录
     * 
     * @param financeConsignPymtRecord 财务机票代收款记录
     * @return 结果
     */
    public int insertFinanceConsignPymtRecord(FinanceConsignPymtRecord financeConsignPymtRecord);

    /**
     * 修改财务机票代收款记录
     * 
     * @param financeConsignPymtRecord 财务机票代收款记录
     * @return 结果
     */
    public int updateFinanceConsignPymtRecord(FinanceConsignPymtRecord financeConsignPymtRecord);

    /**
     * 删除财务机票代收款记录
     * 
     * @param consignPymtRecordId 财务机票代收款记录ID
     * @return 结果
     */
    public int deleteFinanceConsignPymtRecordById(Long consignPymtRecordId);

    /**
     * 批量删除财务机票代收款记录
     * 
     * @param consignPymtRecordIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteFinanceConsignPymtRecordByIds(Long[] consignPymtRecordIds);

    /**
     * 获取表中id列表
     * */
    public List<FinanceConsignPymtRecord> financeConsignPymtRecordIdList();

    /**
     * 获取订单ID集合
     * */
    public List<FinanceConsignPymtRecord> selectOrderIdList(Long orderId);

    /**
     * 获取代收支付类型
     * */
    public FinanceConsignPymtRecord payType(Long orderNum);

    /**
     * 修改订单代收状态
     * */
    public int updatePayStart(FinanceConsignPymtRecord financeConsignPymtRecord);
}
